package com.googlecode.animator.controller
{
	import com.googlecode.animator.view.timeline.GlobalMarker;
	
	import org.puremvc.as3.multicore.interfaces.INotification;
	
	public class TimelineGlobalMarkerMovedCommand extends BaseCommand
	{
		override public function execute(notification:INotification):void
		{	
			var globalMarker:GlobalMarker = notification.getBody() as GlobalMarker;
			
			settings.updateGlobalMarkerTime(globalMarker.id, globalMarker.time);
		}
		
	}
}